package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 hyrj_machine
 *
 * @author ruoyi
 * @date 2024-03-07
 */
public class HyrjMachine extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 洗衣机编号
     */
    @Excel(name = "洗衣机编号")
    private String machineNo;

    /**
     * 洗衣机状态 1.未使用 2 使用中 3 维修中 4 消毒中
     */
    @Excel(name = "洗衣机状态 1.未使用 2 使用中 3 维修中 4 消毒中")
    private String machineStatus;

    /**
     * 洗衣机位置
     */
    @Excel(name = "洗衣机位置")
    private String machineLocation;

    private String laundryPattern;

    private String remainingTime;

    /**
     * 预约人数
     */
    private Integer appointmentNumber;

    private Long userId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMachineNo(String machineNo) {
        this.machineNo = machineNo;
    }

    public String getMachineNo() {
        return machineNo;
    }

    public void setMachineStatus(String machineStatus) {
        this.machineStatus = machineStatus;
    }

    public String getMachineStatus() {
        return machineStatus;
    }

    public void setMachineLocation(String machineLocation) {
        this.machineLocation = machineLocation;
    }

    public String getMachineLocation() {
        return machineLocation;
    }


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLaundryPattern() {
        return laundryPattern;
    }

    public void setLaundryPattern(String laundryPattern) {
        this.laundryPattern = laundryPattern;
    }

    public String getRemainingTime() {
        return remainingTime;
    }

    public void setRemainingTime(String remainingTime) {
        this.remainingTime = remainingTime;
    }

    public Integer getAppointmentNumber() {
        return appointmentNumber;
    }

    public void setAppointmentNumber(Integer appointmentNumber) {
        this.appointmentNumber = appointmentNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("machineNo", getMachineNo())
                .append("machineStatus", getMachineStatus())
                .append("machineLocation", getMachineLocation())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
